package com.ScoresSystem.service;

import com.ScoresSystem.pojo.Teacher;

import java.util.List;

public interface TeacherService {
    List<Teacher> findAllTeachers();

    Teacher login(String userName, String password);

    Teacher findTeacher(String nowUserName, String oldPassword);

    int updatePassword(String nowUserName, String newPassword);
}
